package com.neusoft.dao;

import com.neusoft.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface UserDao {
    /*查询用户的列表的Mapper接口*/
     List<User> userSelectAll(User user);

    /*添加用户信息Mapper*/
    Integer insertUser(User user);

    Integer updateUser(User user);

    /*获取用户的序列号*/
    Integer sequenceNext();

    Integer userDelete(@Param("userId") String userId);

    User userByUserId(@Param("userId") String userId);

}
